﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.ComponentModel;
using OpenWings.Entities;

namespace OpenWings.UI.Elements
{
    public abstract class ListViewItem<TEntity> : ListViewItem where TEntity : Entity
    {
        TEntity _InnerEntity;

        public TEntity InnerEntity
        {
            get { return _InnerEntity; }
            set { _InnerEntity = value; }
        }

        public ListViewItem(TEntity entity)
        {
            InnerEntity = entity;
        }
    }
}
